package com.woniuxy.productdao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("course_product")
public class CourseProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 普通课程产品id
     */
    @TableId(value = "course_product_id", type = IdType.AUTO)
    private Integer courseProductId;

    /**
     * 课程名称
     */
    @TableField("course_product_name")
    private String courseProductName;

    /**
     * 课程介绍
     */
    @TableField("course_desc")
    private String courseDesc;

    /**
     * 场馆id
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 教练id
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 教练名称
     */
    @TableField("coach_name")
    private String coachName;

    /**
     * 教练介绍
     */
    @TableField("coach_desc")
    private String coachDesc;

    /**
     * 类型id
     */
    @TableField("course_type_id")
    private Integer courseTypeId;

    /**
     * 类型名称
     */
    @TableField("course_type_name")
    private String courseTypeName;

    /**
     * 普通课程产品状态 0禁用 1可用
     */
    @TableField("course_product_state")
    private Integer courseProductState;


}
